﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblSTAFF_TYPEService
	{
		private static readonly tblSTAFF_TYPEDAL db = new tblSTAFF_TYPEDAL();
		#region[tblSTAFF_TYPE_GetById]
		public static DataTable tblSTAFF_TYPE_GetById(string Id)
		{
			return db.tblSTAFF_TYPE_GetById(Id);
		}
		#endregion
		#region[tblSTAFF_TYPE_GetByAll]
		public static DataTable tblSTAFF_TYPE_GetByAll()
		{
			return db.tblSTAFF_TYPE_GetByAll();
		}
		#endregion
		#region[tblSTAFF_TYPE_GetByTop]
		public static DataTable tblSTAFF_TYPE_GetByTop(string Top, string Where, string Order)
		{
			return db.tblSTAFF_TYPE_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblSTAFF_TYPE_Insert]
		public static void tblSTAFF_TYPE_Insert(tblSTAFF_TYPEInfo Data)
		{
			 db.tblSTAFF_TYPE_Insert(Data);
		}
		#endregion
		#region[tblSTAFF_TYPE_Update]
		public static void tblSTAFF_TYPE_Update(tblSTAFF_TYPEInfo Data)
		{
			 db.tblSTAFF_TYPE_Update(Data);
		}
		#endregion
		#region[tblSTAFF_TYPE_Delete]
		public static void tblSTAFF_TYPE_Delete(string Id)
		{
			 db.tblSTAFF_TYPE_Delete(Id);
		}
		#endregion
	}
}